//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Electric Avenue','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','5/11/2024','7:30 PM','6298130','Electric-Avenue-5-11-2024'],['Ben Folds','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','6/1/2024','7:30 PM','6298126','Ben-Folds-6-1-2024'],['Joe Gransden','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','6/8/2024','7:30 PM','6298129','Joe-Gransden-6-8-2024'],['Jimmy Buffett Tribute Show','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','6/15/2024','7:30 PM','6298132','Jimmy-Buffett-Tribute-Show-6-15-2024'],['Sheila E','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','6/22/2024','7:30 PM','6298128','Sheila-E-6-22-2024'],['Alan Parsons Project','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','6/29/2024','7:30 PM','6298125','Alan-Parsons-Project-6-29-2024'],['Rumours ATL - A Fleetwood Mac Tribute','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','7/13/2024','7:30 PM','6298131','Rumours-ATL---A-Fleetwood-Mac-Tribute-7-13-2024'],['Air Supply','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','7/20/2024','7:30 PM','6298124','Air-Supply-7-20-2024'],['Jon Anderson & The Band Geeks','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','7/27/2024','7:30 PM','6298133','Jon-Anderson---The-Band-Geeks-7-27-2024'],['Jefferson Starship','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','8/3/2024','7:30 PM','6298127','Jefferson-Starship-8-3-2024'],['Tom Keifer & L.A. Guns','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Friday','8/9/2024','7:30 PM','6298385','Tom-Keifer---L-A--Guns-8-9-2024'],['Marc Martel','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','8/10/2024','7:30 PM','6298384','Marc-Martel-8-10-2024'],['Gary Allan','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Friday','8/23/2024','7:30 PM','6298378','Gary-Allan-8-23-2024'],['The Wallflowers','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Friday','9/13/2024','7:30 PM','6298380','The-Wallflowers-9-13-2024'],['Men At Work','Frederick Brown Jr Amphitheatre','Peachtree City, GA','Saturday','10/12/2024','7:30 PM','6298379','Men-At-Work-10-12-2024']],'Frederick Brown Jr. Amphitheater','http://www.ticketnetwork.com/ticket/Frederick-Brown-Jr.-Amphitheater-events.aspx');